package org.wei.p2p.api.consumer.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author wei
 */
@Data
@Schema(title = "ConsumerRegisterDTO", description = "用户注册信息")
public class ConsumerRegisterDTO {

	@Schema(description = "用户名", name = "username")
	private String username;

	@Schema(description = "手机号", name = "mobile")
	private String mobile;

	@Schema(description = "密码", name = "password")
	private String password;

	@Schema(description = "用户角色.B借款人or I投资人", name = "role")
	private String role;

	@Schema(description = "验证码key", name = "key")
	private String key;

}
